<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Administrator
 * Date: 10/6/13
 * Time: 1:02 PM
 * To change this template use File | Settings | File Templates.
 */
defined('YII_DEBUG') or define('YII_DEBUG',true);

// including Yii
require_once(dirname(__FILE__).'/framework/yii.php');

// we'll use a separate config file
$configFile= dirname(__FILE__).'/protected/config/cron.php';

// creating and running console application
$app = Yii::createConsoleApplication($configFile);

$app->run();

